package com.dongdongshop.service.impl;

import com.dongdongshop.mapper.TbGoodsDescMapper;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.service.TbGoodsDescService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;


@Service
@com.alibaba.dubbo.config.annotation.Service
public class TbGoodsDescServiceImpl implements TbGoodsDescService {

    @Autowired
    private TbGoodsDescMapper tbGoodsDescMapper;
    @Override
    public TbGoodsDesc selectByid(Long goodsId) {
        TbGoodsDesc tbGoodsDesc = tbGoodsDescMapper.selectByPrimaryKey(goodsId);
        return tbGoodsDesc;
    }
}
